package com.ansion.utils;


/**
 * SharedPreferences key
 *
 * @author deanye
 *
 */
public abstract class SharedPrefConstants {

	public static final String PREFENCE_LAST_USED_EMOJI = "prefence_last_used_emoji";

    //public static final String ONE_TIME_INSTALL = "one_time_install";

	public static final String PREFENCE_LAST_PINGED_SERVICE_URL = "last_pinged_service_url";
	public static final String PREFENCE_LAST_PING_SERVER_RESULT = "last_ping_server_rpc_result";
	public static final String PREFENCE_SMS_NUMBER = "prefence_sms_number"; //记录用户回复过短信的号码
	public static final String PREFENCE_SMS_RESPONSE_COUNT = "prefence_sms_response_count"; //回复sms的次数
	public static final String PREFENCE_SMS_AUTO_INVITE = "prefence_sms_auto_invite";//记录用户点击invite 和 点击 ok所对应的号码
	public static final String PREFENCE_SMS_INVITE_LATER = "prefence_invite_later";//记录的是用户点击later的所对应的电话号码


    public static final String PREFENCE_GCM_KEY = "prefence_gcm_key";

	public static final String PREFENCE_GCMRPC_KEY = "GCMRPC_KEY_";

    public static final String PREFENCE_PUSH_TOKEN = "prefence_push_token"; //huawei or xiaomi

    public static final String PREFENCE_OS_PUSH_TOKEN_KEY_REPORTED = "OS_PUSH_TOKEN_KEY_REPORTED_"; //huawei or xiaomi
	/**
	 * store kick out info
	 */
	public static final String PREFENCE_KICK_OUT_INFO = "kick_out_info";
	boolean KICK_OUT_DEFAULT = false;


	public static final String PREFENCE_KICK_OUT_SITUATION = "kick_out_situation";
	public static final int KICK_OUT_FORBIDDEN = 1;
    public static final int USER_IS_NOT_EXIST = 2;//用户被删除
    public static final int KICK_OUT_OTHERDEVICE = 3;
	/**
     * app language please use
     * @see LanguageSettingHelper
     * get and set the app language
	 */
    @Deprecated
	private static final String PREFENCE_LANGUAGE = "app_language";
    @Deprecated
    private static final String LANGUAGE_DEFAULT = "en";

	public static final String PREFENCE_ADX_UPLOAD_ALREADY = "adx_upload_referal_cocoid";
	public static final String PREFENCE_ADX_FIRST_UPLOAD_ALREADY = "adx_first_upload_referal_cocoid";


	//public static final String PREFENCE_SIGNUP_AVATAR_URL = "signup_avatar_url";

    public static final String PREFENCE_SIGNUP_COUNTRY_CODE = "signup_country_code";

    public static final String PREFENCE_SIGNUP_PHONE_NUMBER = "signup_phone_number";


    //更新提醒，当点击进入About页面后，将checkversion中的version存入，表示已经查看过。
    public static final String PREFENCE_LAST_UPDATE_REMINDER_VERSION = "last_update_reminder_version";

    public static final String PREFENCE_CHECK_VERSION_TIME = "get_version_info_time";

    public static final String PREFENCE_APK_SDCARD_URL = "prefence_apk_sdcard_url";

    public static final String PREFENCE_CHECK_VERSION_BEAN = "prefence_check_version_bean";

    //public static final String PREFENCE_NEED_UPDATE_DIALOG_SHOW_TIME = "prefence_need_update_dialog_show_time";


// // last login username
//    public static String PREFENCE_LAST_LOGIN_USER = "prefence_last_login_user";
//
//    public static String PREFENCE_LAST_LOGIN_USER_COCO_ID = "prefence_last_login_user_coco_id";
//
//    public static String PREFENCE_LAST_LOGIN_USER_TOKEN = "prefence_last_login_user_token";
//
//    public static String PREFENCE_LAST_LOGIN_USER_TOKEN_MEMORY = "prefence_last_login_user_token_momory";
//    public static String PREFENCE_LAST_LOGIN_USER_TOKEN_SALT_MEMORY = "prefence_last_login_user_token_salt_momory";
//
//    public static String PREFENCE_LAST_LOGIN_USER_TOKEN_SALT = "prefence_last_login_user_token_salt";
//
//    public static String PREFENCE_LAST_LOGIN_NAME = "prefence_last_login_name";
//
//    public static String PREFENCE_LAST_LOGIN_AVATAR = "prefence_last_login_avatar";


    public static String PREFENCE_VOIP_NOT_WIFI_TIP = "voip_not_wifi_tip";

    //public static String PREFENCE_ADX_CLICK_SIGN_UP = "adx_click_sign_up";
//    boolean DEFAULT_ADX_CLICK_SIGN_UP = false;
    //String PREFENCE_LOGIN_POLICY = "login_policy";
    //String LOGIN_POLICY_DEFAULT = "A";

    String PREFENCE_TEST_CONNECT_TO_SERVER = "app_test_connect_to_server";

    public static String PREFENCE_SERVICE_MAPPINGS = "prefence_service_mappings";

    public static String PREFENCE_SIGNUP_FORMAT_PHONE_NUMBER = "signup_format_phone_number";

    public static String PREFENCE_LOCATION_LATITUDE = "prefence_location_latitude";

    public static String PREFENCE_LOCATION_LONGUTITUDE = "prefence_location_longutitude";

    public static String PREFENCE_LOCATION_GET = "prefence_location_get";

    public static String PREFENCE_GPS_INFO_FROMSERVER = "prefence_gps_info";
    public static String PREFENCE_GPS_INFO_FROMGPS = "prefence_gps_info_fromgps";

    public static String PREFENCE_WINK_TEMP_DESCRIPT = "prefence_wink_temp_descript";

    public static String PREFENCE_ALREADY_RATE = "prefence_already_rate";  //是否已经评价了

    public static String PREFENCE_FIRST_INCOCO_TIME = "prefence_first_incoco_time"; //第一次进入coco，进入chats的时间

    public static String PREFENCE_RATEDIALOG_INTERVAL_TIME = "prefence_ratedialog_interval_time"; //评价dialog显示间隔时间


    public static String PREFENCE_HAS_CHANGE_LANGUAGE = "prefence_has_change_language";//用于nearby群主更改群语言属性

    public static String PREFENCE_OLDEST_TOPICID = "prefence_oldest_topicId";//用于上拉刷新上传的参数

    public static String PREFENCE_NEXTPAGE_MIN_TOPICID = "prefence_nextpage_min_topicid"; //查看下一页数据时使用

//    public static String PREFENCE_ISCONSISTENT = "PREFENCE_ISCONSISTENT";

    public static final String PREFENCE_RECENT_PAGE_SIZE = "prefence_recent_page_size";

    public static final String PREFERNCE_VOIP_CONFIG_FILE_URL = "prefernce_voip_config_file_url";//voip国际化铃声配置文件路径

    public static final String PREFERNCE_COCO_CONFIG_FILE_URL = "prefernce_coco_config_file_url";//coco 配置文件路径

    public static final String PREFERNCE_VOIP_CONFIG_CHECK_CYCLE = "prefernce_voip_config_check_cycle";

    public static final String PREFERNCE_COCO_CONFIG_CHECK_CYCLE = "prefernce_coco_config_check_cycle";//coco 配置文件检测周期

    public static final String PREFENCE_MISSCALL_COUNT = "prefence_misscall_count";//未接电话个数

    public static final String PREFERENCE_SIGNUP_UID = "preference_signup_uid_";//这个ID是不是通过手机注册进来的

    public static final String PREFENCE_CHAT_TITLE_WIDTH = "PREFENCE_CHAT_TITLE_WIDTH"; //聊天页面名字的宽度

    public static final String PREFENCE_STORE_COMMON_UPDATETIME = "PREFENCE_STORE_COMMON_UPDATETIME"; //记录上次普通升级的时间

    public static final String PREFENCE_UPDATERECORD = "PREFENCE_UPDATERECORD";//记录点击版本更新的版本号

    public static final String PREFENCE_CHECKVERSIONTIME_AND_VERSION = "PREFENCE_CHECKVERSIONTIME_AND_VERSION"; //记录version的版本和当前请求的时间

    public static final String PREFENCE_MANUALDOWNLOADAPK = "PREFENCE_MANUALDOWNLOADAPK"; //记录手动下载的版本

    public static final String PREFENCE_RECOMMEND_PUBACCOUNTLIST_PAGE = "PREFENCE_RECOMMEND_PUBACCOUNTLIST_PAGE";//记录显示recommend 列表页面，默认为false

    public static final String PREFENCE_SET_LOADCONTACTS_END = "PREFENCE_SET_LOADCONTACTS_END"; //记录激活进来，匹配通讯后，弹出对话框

    public static final String PREFENCE_VERSION_UPDATE_CHANGED = "PREFENCE_VERSION_UPDATE_CHANGED"; //记录版本有更新，有改变

    public static final String PREFENCE_SAVE_RECOMMNEDOFFICALLIST = "PREFENCE_SAVE_RECOMMNEDOFFICALLIST"; //记录推荐的公共账号列表

    public static final String PREFENCE_SHOWFLAG_RECOMMNEDOFFICAL = "PREFENCE_SHOWFLAG_RECOMMNEDOFFICAL"; //记录推荐的公共账号列表

    public static final String PREFENCE_IS_KICKOUT = "PREFENCE_IS_KICKOUT";//记录是否被踢出

    public static final String PREFRENCE_MOMENTS_UPDATED_REMINDER_UNREAD_1 = "PREFRENCE_MOMENTS_UPDATED_REMINDER_UNREAD_1 ";
    public static final String PREFRENCE_PERMISSION_VOIP_CHECK = "prefrence_permission_voip_check.";

    public interface PublicAccountSupport {         //公众号在某个地区是否支持 在SomaConfigMgr.getInstance().supportPublicAccount()检查后检查
        String PUBLIC_ACCOUNT_REGION_SUPPORT = "PUBLIC_ACCOUNT_REGION_SUPPORT";
        int SUPPORT_NOT_CHECK = -1;
        int SUPPORT = 0;
        int NOT_SUPPORT = 1;
    }
    public interface VoipLive {
        String LIVE_PREF = "voip_live_preference";
        String VOIP_LIVE_TOKEN_EXPIRE = "miniTalkToken_expire";
        String SDK_TOKEN = "sdkToken";

    }
}
